#coding=utf-8
from zhaokelai.users.models import users
from django.contrib import admin

class AuthorAdmin(admin.ModelAdmin):
    list_display = ('username', 'fullname')
    list_display_links = ('username', 'fullname')
    list_select_related=True
    list_per_page=30
    ordering=['-username']
    search_fields =['username']
admin.site.register(users,AuthorAdmin)